/**
 * @date 2:32:00 PM
 * EducationClass.java
 * Administrator
 * TODO
 */
package com.qs.education.bean.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;

/**
 * @class EducationClass	
 * @author Warren
 * @description
 * @date Nov 7, 2018 
 */
@Entity
@Table(name="education_class")
@Getter
@Setter
public class EducationClass {
	@Id
	@Column(name="id" ,unique=true,nullable=false)
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;
	@Column(name="name",unique=true,nullable=false)
	private String name;
}
